package com.az.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableScheduling
@EnableFeignClients(basePackages = "com.az.miaoapi.feign")
@EnableDiscoveryClient
@MapperScan("com.az.order.mapper")
@SpringBootApplication
@EnableCaching
@EnableRetry
public class orderApplication {

    public static void main(String[] args) {
        SpringApplication.run(orderApplication.class, args);
    }

}
